package com.mz.ozy.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/12/6.
 */

public class ScheduledOrderBean implements Serializable {

    private FirmOrderBean.ProductMapBean productMap;
    private List<FirmOrderBean.ProductMapBean> carList = new ArrayList<>();
    private FirmOrderBean.GmapBean gmap;
    private List<FirmOrderBean.FreightMapBean> freightList;
    private int freightid;
    private int type;
    private String freight = "0.00";
    private String continuation = "0.00";
    private FirmOrderBean.AddressMapBean shaddressMap;
    private FirmOrderBean.KtMapBean ktmap;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public FirmOrderBean.KtMapBean getKtmap() {
        return ktmap;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getContinuation() {
        return continuation;
    }

    public void setContinuation(String continuation) {
        this.continuation = continuation;
    }

    public void setFreightid(int freightid) {
        this.freightid = freightid;
    }

    public int getFreightid() {
        return freightid;
    }

    public List<FirmOrderBean.ProductMapBean> getCarList() {
        return carList;
    }

    public FirmOrderBean.ProductMapBean getProductMap() {
        return productMap;
    }

    public FirmOrderBean.GmapBean getGmap() {
        return gmap;
    }

    public List<FirmOrderBean.FreightMapBean> getFreightList() {
        return freightList;
    }

    public FirmOrderBean.AddressMapBean getShaddressMap() {
        return shaddressMap;
    }

    public static class FreightMapBean implements Serializable {

        private int id;
        private int isdelete;
        private int type;
        private String area;
        private String amount = "0.00";
        private String created;
        private String name;
        private String modified;
        private String continuation;

        public int getId() {
            return id;
        }

        public int getIsdelete() {
            return isdelete;
        }

        public int getType() {
            return type;
        }

        public String getArea() {
            return area;
        }

        public String getAmount() {
            return amount;
        }

        public String getCreated() {
            return created;
        }

        public String getName() {
            return name;
        }

        public String getModified() {
            return modified;
        }

        public String getContinuation() {
            return continuation;
        }
    }

    public static class AddressMapBean implements Serializable {
        /*"uid": 191,
                "area2id": 4522900,
                "consignee": "jzkjk",
                "contactnumber": "13113663587",
                "id": 1,
                "isdefault": 1,
                "xxaddress": "asdfasdfasdf",
                "area1id": 4522894,
                "area0id": 4522868*/

        private int uid;
        private int id;
        private int isdefault;
        private int area0id;
        private int area1id;
        private int area2id;

        private String area2name;
        private String area1name;
        private String area0name;
        private String xxaddress;
        private String consignee;
        private String contactnumber;

        public String getArea2name() {
            return area2name;
        }

        public String getArea1name() {
            return area1name;
        }

        public String getArea0name() {
            return area0name;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public void setIsdefault(int isdefault) {
            this.isdefault = isdefault;
        }

        public void setArea2name(String area2name) {
            this.area2name = area2name;
        }

        public void setArea1name(String area1name) {
            this.area1name = area1name;
        }

        public void setArea0name(String area0name) {
            this.area0name = area0name;
        }

        public void setXxaddress(String xxaddress) {
            this.xxaddress = xxaddress;
        }

        public void setConsignee(String consignee) {
            this.consignee = consignee;
        }

        public void setContactnumber(String contactnumber) {
            this.contactnumber = contactnumber;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setArea0id(int area0id) {
            this.area0id = area0id;
        }

        public void setArea1id(int area1id) {
            this.area1id = area1id;
        }

        public void setArea2id(int area2id) {
            this.area2id = area2id;
        }

        public int getUid() {
            return uid;
        }

        public int getId() {
            return id;
        }

        public int getIsdefault() {
            return isdefault;
        }

        public int getArea0id() {
            return area0id;
        }

        public int getArea1id() {
            return area1id;
        }

        public int getArea2id() {
            return area2id;
        }

        public String getXxaddress() {
            return xxaddress;
        }

        public String getConsignee() {
            return consignee;
        }

        public String getContactnumber() {
            return contactnumber;
        }
    }

    public static class ProductMapBean implements Serializable {
        /**
         * goodsId : 102
         * goods_image : http://cdn.szfysoft.com/1_05971676157438196.png
         * goods_jingle=大彩电大彩电大彩电
         * goods_name=大彩电 红色 1.6cm
         * goods_spec={"3":"红色","4":"1.6cm"}
         */
        private int id;
        private int product_id;
        private int attribute_id;
        private int isdelete;
        private int state;
        private int num;
        private String tradename;
        private String starttime;
        private String productName;
        private String gName;
        private String price;
        private String marketPrice;
        private String img_zt;
        private String imgZt;
        private String freight = "0.00";
        private String continuation = "0.00";
        private int freightid;
        private List<FirmOrderBean.FreightMapBean> freightList;

        public String getStarttime() {
            return starttime;
        }

        public String getImgZt() {
            return imgZt;
        }

        public String getMarketPrice() {
            return marketPrice;
        }

        public void setMarketPrice(String marketPrice) {
            this.marketPrice = marketPrice;
        }

        public void setFreight(String freight) {
            this.freight = freight;
        }

        public String getFreight() {
            return freight;
        }

        public String getContinuation() {
            return continuation;
        }

        public void setContinuation(String continuation) {
            this.continuation = continuation;
        }

        public int getAttribute_id() {
            return attribute_id;
        }

        public int getProduct_id() {
            return product_id;
        }

        public String getProductName() {
            return productName;
        }

        public String getgName() {
            return gName;
        }

        public void setgName(String gName) {
            this.gName = gName;
        }

        public List<FirmOrderBean.FreightMapBean> getFreightList() {
            return freightList;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPrice() {
            return price;
        }

        public int getNum() {
            return num;
        }

        public String getImg_zt() {
            return img_zt;
        }

        public int getId() {
            return id;
        }

        public int getIsdelete() {
            return isdelete;
        }

        public int getState() {
            return state;
        }

        public String getTradename() {
            return tradename;
        }

        public void setFreightid(int id) {
            freightid = id;
        }

        public int getFreightid() {
            return freightid;
        }
    }

    public static class KtMapBean implements Serializable {
        private String balance;
        private String integral;

        public String getBalance() {
            return balance;
        }

        public String getIntegral() {
            return integral;
        }
    }

    public static class GmapBean implements Serializable {
        private int id;
        private int isdelete;
        private String name;
        private String price;
        private String market_price;

        public int getId() {
            return id;
        }

        public int getIsdelete() {
            return isdelete;
        }

        public String getName() {
            return name;
        }

        public String getPrice() {
            return price;
        }

        public String getMarket_price() {
            return market_price;
        }
    }
}
